//
//  ZFBFriendCell.m
//  HMPay
//
//  Created by HaoYoson on 16/6/29.
//  Copyright © 2016年 HaoYoson. All rights reserved.
//

#import "ZFBFriendCell.h"

@interface ZFBFriendCell ()
@property (weak, nonatomic) IBOutlet UIImageView *iconView;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *subTitleLabel;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@end

@implementation ZFBFriendCell

- (void)setFriends:(ZFBFriend *)friends {
    _friends = friends;

    self.iconView.image = [UIImage imageNamed:friends.icon];
    self.timeLabel.text = friends.time;
    self.subTitleLabel.text = friends.subTitle;
    self.titleLabel.text = friends.title;
}

@end
